package bean;

import protoClass.AppProtocolbuf;

public class SSTAppSmsRes {
	private int res;
	private String callID;

	public int getRes() {
		return res;
	}

	public void setRes(int res) {
		this.res = res;
	}
	
	public String getCallID() {
		return callID;
	}

	public void setCallID(String callID) {
		this.callID = callID;
	}

	public byte[] getBytes() {
		AppProtocolbuf.STAppSmsRes.Builder builder = AppProtocolbuf.STAppSmsRes
				.newBuilder();
		builder.setRes(getRes());
		builder.setCallId(getCallID());
		return builder.build().toByteArray();
	}

}
